#include <Precomp.h>
                    
#include "serverconnection.h"
#include "application.h"
using namespace Ogre;


INT WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR, INT )
{
    // Create application object
    CNetrekClientApplication app;

    try 
    {
        app.Run();
    } 
    catch( Exception& e ) 
    {
        MessageBoxA( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
    }

    return 0;
}


